package com.inspectortime.webapp.inspector.reports;

import com.inspectortime.domain.RealEstateAgent;

public class AgentsReportBean {
	
	private RealEstateAgent agent;
	private double revenue = 0.0;
	private int numInspections = 0;
	
	public AgentsReportBean(RealEstateAgent agent) {
		this.agent = agent;
	}
	
	public RealEstateAgent getAgent() {
		return agent;
	}
	public void setAgent(RealEstateAgent agent) {
		this.agent = agent;
	}
	public double getRevenue() {
		return revenue;
	}
	public int getNumInspections() {
		return numInspections;
	}
	public void addInspectionRevenue(double inspectionFee) {
		numInspections++;
		this.revenue += inspectionFee;
	}
	
	

}
